﻿using System;
using System.Web;
using System.Net.Mail;
using System.Web.UI;
using SimplePMT.Data;
using SimplePMT.Control;
using System.Text;
using System.Collections.Generic;
using Castle.ActiveRecord;
using NHibernate.Expression;
using SimplePMT.Components;

namespace SimplePMT
{
    public partial class QAReportView : Components.BasePage
    {

        public string reportView = string.Empty;
        public string reportId = string.Empty;
        public int parentContainerId = 0;
        public string memberId = string.Empty;

        protected void Page_Load(object sender, EventArgs e)
        {
            AjaxPro.Utility.RegisterTypeForAjax(typeof(QAReportView), this.Page);
            ValidateSession();
            Control.QAReportControl view = this.LoadControl("./Control/QAReportControl.ascx") as Control.QAReportControl;
            view.edit = true;
            view.reportId = Convert.ToInt32(Request.QueryString["id"]);
            reportId = view.reportId.ToString();
            reportView = view.ToString();
            memberId = Session["MemberID"].ToString();
        }
    }
}
